package com.mtons.datastructure.tree.binarytree;

public class BinaryNode {

    int data;       //节点数据
    BinaryNode leftChild;    //左子节点的引用
    BinaryNode rightChild;   //右子节点的引用
    boolean isDelete; //表示节点是否被删除

    public BinaryNode(int data) {
        this.data = data;
    }

    public void display() {
        System.out.println(data);
    }

}
